package top.swle.austers.mapper;

import top.swle.austers.bean.People;
import top.swle.austers.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ContactWayMapper {

    @Select("SELECT name,phonenumber,organization FROM contact_way where name like  CONCAT('%',#{name},'%')")
    List<People> queryContactWay(String name);
}
